package qiangqiang.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import qiangqiang.entity.MessageBoard;

import java.util.List;

/**
 * Created by q on 2017/9/22.
 */
@Repository
public interface MessageBoardDao {
    void addMessage(@Param("messageBoard") MessageBoard messageBoard);
    List<MessageBoard> getAllMessage();
    long updateLikeNumber(@Param("mId") long mId);
}
